Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Aug 2000
Posts: 262
Enthusiast
Enthusiast
Offline
Joined: Aug 2000
Posts: 262
Alt - S for Posting or Control - S for mac. so you can just press alt s to submit/preview your post. quite simple to do, you can probably add these keys to others things such as after preview if everything looks okey you can press alt p and it will post it. go into addpost.php and find this line:

<input type=submit value = "$lang[TEXT_CONT]" class="buttons">

change it so it looks like this:

<input type=submit value = "$lang[TEXT_CONT]" accesskey="S" class="buttons">


and go into addpost.php and find the line:

echo ".";
echo "
</p><p>
<input type=submit value = "$lang[TEXT_CONT]" class="buttons">
</form>
";

$html -> close_table();
$html -> send_footer();
exit;
}


and change it so it looks like this:


echo ".";
echo "
</p><p>
<input type=submit value = "$lang[TEXT_CONT]" accesskey="S" class="buttons">
</form>
";

$html -> close_table();
$html -> send_footer();
exit;
}


[:red]--------------
http://extremeforums.org

Sponsored Links
Joined: Aug 2000
Posts: 262
Enthusiast
Enthusiast
Offline
Joined: Aug 2000
Posts: 262
oops, an example can be seen at http://www.extremeforums.org/newpost.php?Cat=8&Board=testboard i am going to put some text on the bottom so people know about it. eek a cat.

[:red]--------------
http://extremeforums.org

Joined: Jan 2000
Posts: 796
MTO Offline
Addict
Addict
Offline
Joined: Jan 2000
Posts: 796
Your whole thing is too cool. []/w3timages/icons/cool.gif[/]

Mateo Byler
CruceDeCaminos.com

Joined: Aug 2000
Posts: 262
Enthusiast
Enthusiast
Offline
Joined: Aug 2000
Posts: 262
i added instructions

echo "





";
if (ereg("Mac",$HTTP_USER_AGENT)) {
$command = "Control";
}
else {
$command = "Alt";
}
echo "You can Press $command - P to check the Preview Button $lang[CAN_ATTACH].

You can Press $command - E to check the Email Button.

You can Press $command - S to Submit your post.

";
echo "";


it checks wether the user is on a mac or a pc and shoiws alt/control accordingly.

this one can easily be used in the perl version all you have to copy is the accesskey="S" and make S whatever key you want it to be.

[:red]--------------
http://extremeforums.org

Edited by poil on 03/22/01 02:13 PM.



Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Shock Hosting
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
badfrog
badfrog
somewhere on the coast of Maine
Posts: 94
Joined: March 2007
Forum Statistics
Forums63
Topics37,583
Posts293,955
Members13,824
Most Online151,614
Nov 14th, 2025
Today's Statistics
Currently Online 536
Topics Created 0
Posts Made 0
Users Online 0
Birthdays 23
Top Posters
AllenAyres 21,080
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,834
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Morgan 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2026 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260108)